Skip to content

Conversation

@js07
Copy link
Collaborator

@js07 js07 commented Jun 30, 2025

Adds dir props to relevant components for apps starting with 'H' to 'P'.

WHY

The 'dir' prop indicates that a stash ID should be passed when running these actions via the Connect API. This allows files written to the ephemeral /tmp directory in one action to be read by another, separately executed action since both can sync /tmp with the same File Stash directory.

Summary by CodeRabbit

  • New Features

    • Added an optional or required syncDir property to many actions, allowing users to specify a synchronized directory for file operations.
    • Improved handling of file paths in several actions, with some now supporting dynamic directory resolution for output files.
  • Bug Fixes

    • Updated descriptions and file path logic in select actions to clarify usage and ensure correct file saving locations.
  • Chores

    • Incremented version numbers across numerous components and actions to reflect these updates.

Adds dir props to relevant components for apps starting with 'H' to 'P'.

The 'dir' prop indicates that a stash ID should be passed when running
these actions via the Connect API. This allows files written to the
ephemeral /tmp directory in one action to be read by another, separately
executed action since both can sync /tmp with the same File Stash
directory.
@vercel
Copy link

vercel bot commented Jun 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Ignored (Inspect) Jul 2, 2025 4:15pm
pipedream-docs ⬜️ Ignored (Inspect) Jul 2, 2025 4:15pm
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) Jul 2, 2025 4:15pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 30, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This update introduces a new syncDir property to the props of numerous component actions, enabling directory synchronization with specific access modes (read, write, or read-write). The property is typically optional and marked with sync: true. Additionally, related package and action version numbers were incremented, with minor logic adjustments in a few actions to support dynamic directory paths.

Changes

Files/Groups Change Summary
components/*/actions/*/ (multiple actions) Added new syncDir prop (type: "dir", with accessMode and sync: true, often optional) to action props.
components/*/actions/*/ (OpenAI create-image, convert-text-to-speech, mergemole generate-pdf, pexels download-photo) Adjusted file output logic to use dynamic directory path (via STASH_DIR env or /tmp).
components/*/actions/*/ (convert-text-to-speech) Updated outputFile prop description to clarify filename usage.
components/*/actions/*/ (pexels download-photo) Centralized file path handling with a new destinationPath variable; included filePath in return value.
components/*/package.json (all affected components) Incremented package version numbers.
components/*/actions/*/ (all affected actions) Incremented action version numbers.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Action
    participant FileSystem

    User->>Action: Invoke action with optional syncDir
    alt syncDir is provided
        Action->>FileSystem: Access directory (read/write) as per accessMode
        FileSystem-->>Action: Directory synchronized (if sync: true)
    else syncDir not provided
        Action->>FileSystem: Use default directory (e.g., /tmp)
    end
    Action-->>User: Return result (may include file path)
Loading

Possibly related PRs

  • PipedreamHQ/pipedream#17375: Adds a new optional syncDir property of type "dir" with synchronization enabled to action props, closely matching the code-level changes in this PR.

Poem

A syncDir here, a syncDir there,
Directories synchronized with flair!
Read or write, the files delight,
Version bumps make things right.
In every action, a path anew—
The rabbit hops, and so do you!
🐇✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

components/hathr_ai/actions/upload-document/upload-document.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:202:49)

components/happy_scribe/actions/submit-file/submit-file.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:202:49)

components/helper_functions/actions/csv-file-to-objects/csv-file-to-objects.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:202:49)

  • 59 others

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3afd891 and 6291c6b.

📒 Files selected for processing (104)
  • components/happy_scribe/actions/submit-file/submit-file.mjs (2 hunks)
  • components/happy_scribe/package.json (1 hunks)
  • components/hathr_ai/actions/upload-document/upload-document.mjs (2 hunks)
  • components/hathr_ai/package.json (1 hunks)
  • components/helper_functions/actions/csv-file-to-objects/csv-file-to-objects.mjs (2 hunks)
  • components/helper_functions/actions/download-file-to-tmp/download-file-to-tmp.mjs (2 hunks)
  • components/helper_functions/package.json (1 hunks)
  • components/heyy/actions/upload-file/upload-file.mjs (2 hunks)
  • components/heyy/package.json (1 hunks)
  • components/hippo_video/actions/send-personalization-request/send-personalization-request.mjs (2 hunks)
  • components/hippo_video/package.json (1 hunks)
  • components/html_2_pdf/actions/generate-pdf/generate-pdf.mjs (2 hunks)
  • components/html_2_pdf/package.json (1 hunks)
  • components/ignisign/actions/create-signature-request/create-signature-request.mjs (2 hunks)
  • components/ignisign/actions/get-signature-proof/get-signature-proof.mjs (2 hunks)
  • components/ignisign/package.json (1 hunks)
  • components/ilovepdf/actions/process-files/process-files.mjs (2 hunks)
  • components/ilovepdf/package.json (1 hunks)
  • components/imagekit_io/actions/upload-image/upload-image.mjs (2 hunks)
  • components/imagekit_io/package.json (1 hunks)
  • components/imgbb/actions/upload-picture/upload-picture.mjs (2 hunks)
  • components/imgbb/package.json (1 hunks)
  • components/jigsawstack/actions/object-detection/object-detection.mjs (2 hunks)
  • components/jigsawstack/package.json (1 hunks)
  • components/jina_reader/actions/convert-to-llm-friendly-input/convert-to-llm-friendly-input.mjs (2 hunks)
  • components/jina_reader/package.json (1 hunks)
  • components/jira/actions/add-attachment-to-issue/add-attachment-to-issue.mjs (2 hunks)
  • components/jira/actions/add-multiple-attachments-to-issue/add-multiple-attachments-to-issue.mjs (2 hunks)
  • components/jira/package.json (1 hunks)
  • components/jobnimbus/actions/create-attachment/create-attachment.mjs (2 hunks)
  • components/jobnimbus/package.json (1 hunks)
  • components/leexi/actions/create-presign-recording-url/create-presign-recording-url.mjs (2 hunks)
  • components/leexi/package.json (1 hunks)
  • components/linkedin/actions/create-image-post-organization/create-image-post-organization.mjs (2 hunks)
  • components/linkedin/actions/create-image-post-user/create-image-post-user.mjs (2 hunks)
  • components/linkedin/package.json (1 hunks)
  • components/llmwhisperer/actions/extract-text/extract-text.mjs (2 hunks)
  • components/llmwhisperer/package.json (1 hunks)
  • components/lmnt/actions/create-custom-voice/create-custom-voice.mjs (2 hunks)
  • components/lmnt/actions/generate-speech-from-text/generate-speech-from-text.mjs (2 hunks)
  • components/lmnt/package.json (1 hunks)
  • components/lokalise/actions/upload-file/upload-file.mjs (2 hunks)
  • components/lokalise/package.json (1 hunks)
  • components/mapbox/actions/create-tileset/create-tileset.mjs (2 hunks)
  • components/mapbox/package.json (1 hunks)
  • components/meistertask/actions/create-attachment/create-attachment.mjs (2 hunks)
  • components/meistertask/package.json (1 hunks)
  • components/mergemole/actions/generate-pdf/generate-pdf.mjs (3 hunks)
  • components/mergemole/package.json (1 hunks)
  • components/microsoft_onedrive/actions/download-file/download-file.mjs (2 hunks)
  • components/microsoft_onedrive/actions/upload-file/upload-file.mjs (2 hunks)
  • components/microsoft_onedrive/package.json (1 hunks)
  • components/microsoft_outlook/actions/download-attachment/download-attachment.mjs (2 hunks)
  • components/microsoft_outlook/package.json (1 hunks)
  • components/mistral_ai/actions/download-batch-job-results/download-batch-job-results.mjs (2 hunks)
  • components/mistral_ai/actions/upload-file/upload-file.mjs (2 hunks)
  • components/mistral_ai/package.json (1 hunks)
  • components/monday/actions/update-column-values/update-column-values.mjs (2 hunks)
  • components/monday/package.json (1 hunks)
  • components/ocrspace/actions/process-image/process-image.mjs (2 hunks)
  • components/ocrspace/actions/process-pdf/process-pdf.mjs (2 hunks)
  • components/ocrspace/package.json (1 hunks)
  • components/onlinecheckwriter/actions/mail-pdf-document/mail-pdf-document.mjs (2 hunks)
  • components/onlinecheckwriter/package.json (1 hunks)
  • components/onlyoffice_docspace/actions/upload-file/upload-file.mjs (2 hunks)
  • components/onlyoffice_docspace/package.json (1 hunks)
  • components/openai/actions/analyze-image-content/analyze-image-content.mjs (2 hunks)
  • components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs (3 hunks)
  • components/openai/actions/create-batch/create-batch.mjs (2 hunks)
  • components/openai/actions/create-image/create-image.mjs (3 hunks)
  • components/openai/actions/create-transcription/create-transcription.mjs (2 hunks)
  • components/openai/actions/retrieve-file-content/retrieve-file-content.mjs (2 hunks)
  • components/openai/actions/upload-file/upload-file.mjs (2 hunks)
  • components/openai/package.json (1 hunks)
  • components/pandadoc/actions/create-document-attachment/create-document-attachment.mjs (2 hunks)
  • components/pandadoc/actions/create-document-from-file/create-document-from-file.mjs (2 hunks)
  • components/pandadoc/actions/download-document/download-document.mjs (2 hunks)
  • components/pandadoc/actions/download-protected-document/download-protected-document.mjs (2 hunks)
  • components/pandadoc/package.json (1 hunks)
  • components/pdf4me/actions/compress-pdf/compress-pdf.mjs (2 hunks)
  • components/pdf4me/actions/convert-to-pdf/convert-to-pdf.mjs (2 hunks)
  • components/pdf4me/package.json (1 hunks)
  • components/pdffiller/actions/upload-document/upload-document.mjs (2 hunks)
  • components/pdffiller/package.json (1 hunks)
  • components/pexels/actions/download-photo/download-photo.mjs (3 hunks)
  • components/pexels/package.json (1 hunks)
  • components/pipedream_utils/actions/csv-file-to-objects/csv-file-to-objects.mjs (2 hunks)
  • components/pipedream_utils/actions/download-file-to-tmp/download-file-to-tmp.mjs (2 hunks)
  • components/pipedream_utils/package.json (1 hunks)
  • components/pixelbin/actions/upload-file/upload-file.mjs (2 hunks)
  • components/pixelbin/package.json (1 hunks)
  • components/platerecognizer/actions/run-recognition/run-recognition.mjs (2 hunks)
  • components/platerecognizer/package.json (1 hunks)
  • components/podio/actions/upload-file/upload-file.mjs (2 hunks)
  • components/podio/package.json (1 hunks)
  • components/printautopilot/actions/add-pdf-to-queue/add-pdf-to-queue.mjs (2 hunks)
  • components/printautopilot/package.json (1 hunks)
  • components/printify/actions/create-product/create-product.mjs (2 hunks)
  • components/printify/package.json (1 hunks)
  • components/printnode/actions/send-print-job/send-print-job.mjs (2 hunks)
  • components/printnode/package.json (1 hunks)
  • components/puppeteer/actions/get-pdf/get-pdf.mjs (2 hunks)
  • components/puppeteer/actions/screenshot-page/screenshot-page.mjs (2 hunks)
  • components/puppeteer/package.json (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@js07 js07 marked this pull request as ready for review July 2, 2025 16:46
@js07 js07 merged commit 19d4e10 into master Jul 2, 2025
10 of 11 checks passed
@js07 js07 deleted the configure-filesync-for-components-h-p branch July 2, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants